package cn.ekuma.epos.remote.hessian.service;

import java.sql.SQLException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;

import cn.ekuma.data.dao.I_DataLogic;
import cn.ekuma.epos.datalogic.I_DataLogicPDA;
import cn.ekuma.epos.datalogic.define.DataLogicPDA;

public class DataLogicPDAServlet extends AbstractDataLogicServlet {
	@Override
	protected I_DataLogic createService(ServletConfig config)
			throws ServletException {
		DataLogicPDA dataLogic=null;
		try {
			dataLogic = new DataLogicPDA(getSession(config));
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return dataLogic;
	}

	@Override
	protected Class getDataLogicClass() {
		return I_DataLogicPDA.class;
	}

}
